<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>项目评审专家管理</title>
	<meta name="decorator" content="default"/>
	<link rel="stylesheet" href="${ctxStatic}/common/bootstrap.min.css">
	<link rel="stylesheet" href="${ctxStatic}/common/AdminLTE.min.css">
	<link rel="stylesheet" href="${ctxStatic}/common/jeesite.css">
	<script src="${ctxStatic}/jquery-validation/1.16/jquery.validate.js"></script>
	<script src="${ctxStatic}/jquery-validation/1.16/jquery.validate.extend.js"></script>
	<script src="${ctxStatic}/jquery-validation/1.16/localization/messages_zh_CN.js"></script>
	<style type="text/css">
		#inputForm a{
			height: 30px;
			border-color: #ccc;
		}
		
		#contentTable tr{
			font-size: 13px;
		}
		#contentTable th{
			border-left: 1px solid #ddd;
			border-top: 1px solid #ddd;
		}
		#contentTable td{
			border-left: 1px solid #ddd;
			border-top: 1px solid #ddd;
		}
		
	</style>
	<script type="text/javascript">
		$(document).ready(function() {
			
			
		});
		
	</script>
</head>
<body>
	
	<ul class="nav nav-tabs">
		<li><a href="${ctx}/zx/proExperts/">项目列表</a></li>
		<li class="active"><a href="${ctx}/zx/proExperts/show?id=${lzd.id}&sectionId=${lzd.ts.id}">项目评审专家</a></li>
	</ul>
	<div class="main-content">
	  <div class="box box-main">
	  	
		 <form:form id="inputForm" modelAttribute="lzd" action="${ctx}/zx/proExperts/batchConfirmPay" method="post" class="form-horizontal">
		 	<form:hidden path="id"/>
		 	<input value="${lzd.id}" name="lzdId" type="hidden">
			<input value="${lzd.ts.id}" name="sectionId" type="hidden">
			<sys:message content="${message}"/>	
			<div class="box-body">
				<div class="form-unit">项目基本信息
					<span style="float: right">
						<a href="${ctx}/zx/all/lzd/getLzdAllInfo?lzdId=${lzd.id}&sectionId=${lzd.sectionId}&pageFlag=proExperts"> 查看更多项目详情>></a>
					</span>
				</div>
				<div class="row">
					<div class="col-xs-6">
						<div class="form-group">
							<label class="control-label col-sm-4" title="">
								<span class="required hide">*</span> 项目编码：<i class="fa icon-question hide"></i></label>
							<div class="col-sm-8">
								<form:input path="proNo" maxlength="100" class="form-control required" cssStyle="height:30px" disabled="true"/>
							</div>
						</div>
					</div>
					<div class="col-xs-6">
						<div class="form-group">
							<label class="control-label col-sm-4" title="">
								<span class="required hide">*</span> 项目名称：<i class="fa icon-question hide"></i></label>
							<div class="col-sm-8">
								<form:input path="proName" maxlength="100" class="form-control required" cssStyle="height:30px" disabled="true"/>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-xs-6">
						<div class="form-group">
							<label class="control-label col-sm-4" title="">
								<span class="required hide">*</span> 采购单位：<i class="fa icon-question hide"></i></label>
							<div class="col-sm-8">
								<form:input path="buyUnit" maxlength="255" class="form-control" cssStyle="height:30px" disabled="true"/>
							</div>
						</div>
					</div>
					<div class="col-xs-6">
						<div class="form-group">
							<label class="control-label col-sm-4" title="">
								<span class="required hide">*</span> 项目负责人：<i class="fa icon-question hide"></i></label>
							<div class="col-sm-8">
								<form:input path="proPic" maxlength="100" class="form-control" cssStyle="height:30px" disabled="true"/>
							</div>
						</div>
					</div>
				</div>
				<c:if test="${lzd.isSubpackage eq '2'}">
					<div class="row">
						<div class="col-xs-6">
							<div class="form-group">
								<label class="control-label col-sm-4" title="">
									<span class="required hide">*</span> 项目预算(<font style="color: red">万元</font>)：<i class="fa icon-question hide"></i></label>
								<div class="col-sm-8">
									<form:input path="budgetMoney" maxlength="100" class="form-control" cssStyle="height:30px" disabled="true"/>
								</div>
							</div>
						</div>
						<div class="col-xs-6">
							<div class="form-group">
								<label class="control-label col-sm-4" title="">
									<span class="required hide">*</span> 保证金：<i class="fa icon-question hide"></i></label>
								<div class="col-sm-8">
									<form:input path="depositMoney" maxlength="100" class="form-control" cssStyle="height:30px" disabled="true"/>
								</div>
							</div>
						</div>
					</div>
				</c:if>
				<!-- 标段信息 -->
				<c:if test="${lzd.isSubpackage eq '1'}">
					<div class="form-unit">标段信息</div>
					<div class="row">
						<div class="col-xs-6">
							<div class="form-group">
								<label class="control-label col-sm-4" title="">
									<span class="required hide">*</span> 标段名称：<i class="fa icon-question hide"></i></label>
								<div class="col-sm-8">
									<form:input path="ts.sectionName" maxlength="100" class="form-control required" cssStyle="height:30px" disabled="true"/>
								</div>
							</div>
						</div>
						<div class="col-xs-6">
							<div class="form-group">
								<label class="control-label col-sm-4" title="">
									<span class="required hide">*</span> 项目预算(<font style="color: red">万元</font>)：<i class="fa icon-question hide"></i></label>
								<div class="col-sm-8">
									<form:input path="ts.budgetMoney" maxlength="100" class="form-control" cssStyle="height:30px" disabled="true"/>
								</div>
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-xs-6">
							<div class="form-group">
								<label class="control-label col-sm-4" title="">
									<span class="required hide">*</span> 折扣：<i class="fa icon-question hide"></i></label>
								<div class="col-sm-8">
									<form:input path="ts.discount" maxlength="100" class="form-control required" cssStyle="height:30px" disabled="true"/>
								</div>
							</div>
						</div>
						<div class="col-xs-6">
							<div class="form-group">
								<label class="control-label col-sm-4" title="">
									<span class="required hide">*</span> 保证金(<font style="color: red">万元</font>)：<i class="fa icon-question hide"></i></label>
								<div class="col-sm-8">
									<form:input path="depositMoney" maxlength="100" class="form-control" cssStyle="height:30px" disabled="true"/>
								</div>
							</div>
						</div>
					</div>
				</c:if>
				<div class="form-unit" style="margin-bottom: 10px;">项目评审专家信息</div>
				
				<table id="contentTable" class="table table-striped table-bordered table-condensed">
					<thead>
						<tr>
							<th>专家姓名</th>
							<th>专家评价</th>
							<th>参与评标专业</th>
							<th>职称</th>
							<th>手机号码</th>
							<th>身份证号码</th>
							<!-- <th>年龄</th> -->
							<th>付款状态</th>
							<th>付款金额(<font style="color: red">元</font>)</th>
							<th>支付时间</th>
						</tr>
					</thead>
					<tbody>
						<c:forEach items="${peList}" var="ps" varStatus="vs">
							<tr>
								<td>${ps.expertsInfo.name}</td>
								<td title="${ps.expertsInfo.evaluateContent}">${fns:getDictLabel(ps.expertsInfo.evaluateGrade, 'evaluate_grade', '')}</td>
								<td>${ps.expertsInfo.bep}</td>
								<td>${ps.expertsInfo.positional}</td>
								<td>${ps.expertsInfo.phone}</td>
								<td>${ps.expertsInfo.card}</td>
								<%-- <td>${ps.expertsInfo.age}</td> --%>
								<td>
									<input type="hidden" name="payList[${vs.index}].id" value="${ps.id}">
									<form:select path="payList[${vs.index}].payFlag" cssStyle="width: 177px;">
										<form:option value="" htmlEscape="false">请选择</form:option>
										<form:option value="0" htmlEscape="false" selected="${ps.payFlag eq '0' ? 'selected' : ''}">未支付</form:option>
										<form:option value="1" htmlEscape="false" selected="${ps.payFlag eq '1' ? 'selected' : ''}">已支付</form:option>
									</form:select>
									<%-- <c:choose>
										<c:when test="${ps.payFlag eq '1'}">
											<span class="label label-success" style="margin-left: 5px;font-size: 90%;font-weight: 400;">已支付</span>					
										</c:when>
										<c:otherwise>
											<span class="label label-warning" style="margin-left: 5px;font-size: 90%;font-weight: 400;">未支付</span>
										</c:otherwise>
									</c:choose> --%>
								</td>
								<td>
									${ps.paySum}
								</td>
								<td>
									<fmt:formatDate value="${ps.payTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
								</td>
							</tr>
						</c:forEach>
					</tbody>
				</table>				
				<div class="form-actions" style="background-color: #fff;padding-left: 0px">
					<c:if test="${fn:length(peList) > 0}">
						<input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存"/>&nbsp;
					</c:if>
					<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)" style="background-color: #e7e7e7;"/>
				</div>
			</div>	
		 </form:form>
	  </div>
	</div>
</body>
</html>